#!/bin/bash

echo "example: $0 -h"

export vblank_mode=0


export DISPLAY=:0.0

cd bin

# its output info may be contains "ATTENTION" in std.err as below:
# ATTENTION: default value of option vblank_mode overridden by environment
#
# so discard "ATTENTION" from output, only remain "COUNT" in std.err.

./GPU-perf $@
#gdb --args ./GPU-perf $@
